﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Repository.Models {
	public class User {
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public Guid Id { get; set; }
		public string Name { get; set; } = "IKUN";
		public string Password { get; set; } = "113113";
		public int BonusPoints { get; set; } = 0;
		public bool IsAdmin { get; set; } = false;
		[JsonIgnore]
		public ICollection<Survey>? Surveys { get; set; }
	}
}
